package scau.hotel.hotel_service.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import scau.hotel.hotel_service.validator.IsIDCard;
import scau.hotel.hotel_service.validator.IsMobilePhone;
import scau.hotel.hotel_service.validator.IsName;

import javax.validation.constraints.NotNull;

/**
 * 登记入住人信息传值类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CheckinCusInforVo {
    /**
     * 入住人姓名
     */
    @NotNull(message = "姓名不能为空")
    @IsName
    private String cusName;
    /**
     * 入住人身份证
     */
    @NotNull(message = "身份证不能为空")
    @IsIDCard
    private String cusIdcard;
    /**
     * 入住人电话号码
     */
    @NotNull(message = "电话号码不能为空")
    @IsMobilePhone
    private String cusTel;
    /**
     * 备注
     */
    private String remark;
    
}
